python using boolean len comparing with

25

my_list = []
if my_list == []:
    print("The list is empty")

Comments

Submit
0 Comments